#ifndef unigame_Sphere_h
#define unigame_Sphere_h

#include "transform/Vector3.h"

namespace unigame
{
	class Sphere
	{
	public:
		Sphere(float radius, float x, float y, float z):m_radius(radius), m_center(x, y, z){}
		Sphere(float radius, Vector3f& center):m_radius(radius), m_center(center.x, center.y, center.z){}
		~Sphere(){}

		bool isIntersect(Vector3f& point);
		bool isIntersectOrOnEdge(Vector3f& point);

	private:
		float m_radius;
		Vector3f m_center;
	};
}

#endif